package edu.ynu.po;
// default package



/**
 * Magazine entity. @author MyEclipse Persistence Tools
 */

public class Magazine  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private String name;
     private String type;
     private String serialNo;
     private String cycle;
     private Integer issueCount;
     private String unit;
     private double price;
     private Integer stock;
     private String targetCst;
     private String remark;


    // Constructors

    /** default constructor */
    public Magazine() {
    }

    
    /** full constructor */
    public Magazine(String name, String type, String serialNo, String cycle, Integer issueCount, String unit, double price, Integer stock, String targetCst, String remark) {
        this.name = name;
        this.type = type;
        this.serialNo = serialNo;
        this.cycle = cycle;
        this.issueCount = issueCount;
        this.unit = unit;
        this.price = price;
        this.stock = stock;
        this.targetCst = targetCst;
        this.remark = remark;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return this.type;
    }
    
    public void setType(String type) {
        this.type = type;
    }

    public String getSerialNo() {
        return this.serialNo;
    }
    
    public void setSerialNo(String serialNo) {
        this.serialNo = serialNo;
    }

    public String getCycle() {
        return this.cycle;
    }
    
    public void setCycle(String cycle) {
        this.cycle = cycle;
    }

    public Integer getIssueCount() {
        return this.issueCount;
    }
    
    public void setIssueCount(Integer issueCount) {
        this.issueCount = issueCount;
    }

    public String getUnit() {
        return this.unit;
    }
    
    public void setUnit(String unit) {
        this.unit = unit;
    }

    public double getPrice() {
        return this.price;
    }
    
    public void setPrice(double price) {
        this.price = price;
    }

    public Integer getStock() {
        return this.stock;
    }
    
    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public String getTargetCst() {
        return this.targetCst;
    }
    
    public void setTargetCst(String targetCst) {
        this.targetCst = targetCst;
    }

    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }
   








}